<template>
  <div>
    <Tab :list="list"/>
  </div>
</template>

<script>
import Tab from './components/Tab.vue'
import axios from 'axios'
export default {
  components: {
    Tab
  },
  data() {
    return {
      list: []
    }
  },
  mounted() {
    axios.get('/list').then(resp => {
      console.log(resp.data);
      this.list = resp.data
    })
  }
}
</script>